Python/VIT/sem-1/ex-12/2. String heterogram check/String heterorgram check.py
s = str(input("Enter a string:"))
s = s.replace(" ", "")
lStr=len(s)
s = set(s)
lSet=len(s)
if lStr == lSet:
print("Heterogram")
else:
print("Not a heterogram")
s = str(input("Enter a string:"))
s = s.replace(" ", "")
lStr=len(s)
s = set(s)
lSet=len(s)
if lStr == lSet:
print("Heterogram")
else:
print("Not a heterogram")